package com.jkoss.wine.warehouse.service;

import java.util.List;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.jkoss.wine.warehouse.entity.WareInOrder;
import com.jkoss.wine.warehouse.vo.WareInOrderVo;

/**
 * 入库单 服务类
 * 
 * @Author Jason
 * @Version 1.0, 2018-11-28
 * @See
 * @Since com.jkoss.wine.warehouse.service
 * @Description: TODO
 */
public interface IWareInOrderService extends IService<WareInOrder> {

	boolean deleteOutOrder(List<WareInOrder> list) throws Exception;

	boolean updateOutOrder(WareInOrder inout_order, String[] wioodid, String[] whid, String[] pnid, String[] amut) throws Exception;

	boolean deleteInoutOrder(List<WareInOrder> list) throws Exception;

	Page selectVoByioid(Page page, Wrapper wrapper);

	boolean insertInOrder(WareInOrder inout_order, String[] whid, String[] pnid, String[] amut, String[] unpr, String[] ttpr) throws Exception;

	boolean updateInOrder(WareInOrder inout_order, String[] wioodid, String[] whid, String[] pnid, String[] amut, String[] unpr, String[] ttpr) throws Exception;

	Page selectVoExcel(Page page, Wrapper wrapper);

	WareInOrderVo selectVoById(String id);

	Page selectVoByPage(Page page, Wrapper wrapper);

}
